*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@color: #d431cc;
body{
    transition: all 1500ms ease-in-out;
    background: @color;
    width: 100vw; 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;        
    flex-direction: column;
    color: #ffffff;
    font-weight: 700;
    font-size: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
    
}
.nav {
    transition: all 1500ms ease-in-out;
    width: 100vw;
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #ffffff;
    color: #3f18eb;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    list-style: none;
}

.nav li {
    transition: background-color 700ms ease-in-out, color 700ms ease-in-out, font-size 700ms ease-in-out;
    display: inline-flex;
    width: 25%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #3f18eb;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    height: 10vh;
}

.nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #3f18eb;
    text-decoration: none;
    transition: color 700ms ease-in-out, font-size 700ms ease-in-out;
}

.nav li:hover {
    background: #3f18eb;
    color: #ffffff;
    font-size: 25px;
}

.nav li:hover a {
    color: #ffffff;
    font-size: 25px;
}